package com.suineg.pms.repository.commons;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.suineg.pms.entity.commons.SystemInfo;


/**
 *
 *@author Suine
 */
public interface SystemInfoDao extends PagingAndSortingRepository<SystemInfo, Long>,JpaSpecificationExecutor<SystemInfo>{

	List<SystemInfo> findByCode(String code);
	
	List<SystemInfo> findByName(String name);
}

